﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RooHui.Portal.Biz.Model
{
    public class InvestmentInfoModel
    {
        /// <summary>
        /// 还款中
        /// </summary>
        public InvestmentItemModel Repayment { get; set; }
        /// <summary>
        /// 投标中
        /// </summary>
        public InvestmentItemModel Invest { get; set; }
        /// <summary>
        /// 投资完成
        /// </summary>
        public InvestmentItemModel Complete { get; set; }
        /// <summary>
        /// 总计
        /// </summary>
        public InvestmentItemModel Total { get; set; }
    }

    public class InvestmentItemModel
    {
        public DateTime startDate { get; set; }
        public DateTime endDate { get; set; }
        public int Count { get; set; }
        public decimal Amount { get; set; } 
    }

    public class PayBackInfomodel
    {
        public InvestmentItemModel ThisMonth { get; set; }
        public InvestmentItemModel NextMonth { get; set; }
        public InvestmentItemModel AllYearMonth { get; set; }
        public InvestmentItemModel TotalMonth { get; set; }
    }
}
